package com.dup.jxlh.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dup.jxlh.admin.entities.model.Admin;
import com.dup.jxlh.admin.entities.model.Company;
import com.dup.jxlh.admin.entities.vo.CompanyVO;
import com.dup.jxlh.api.entities.PaginationData;

import java.math.BigInteger;

public interface CompanyService {
    Page<CompanyVO> getSonCompanyList(BigInteger companyId, PaginationData paginationData);

    Boolean addSonCompany(Company company, Admin admin);

    Boolean editSonCompany(Company company, Admin admin);

    Boolean resetSonCompanyAdmin(BigInteger adminId);

    Company getCompany(BigInteger id);

}
